<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf" %>
<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
}

.col-sm-9 {
	width: 85%;
	float: left;
}
label[class^="btn btn-default"]{
	margin-top: -4px;
}
</style>
<script type="text/javascript" src="${ctx}/js/jedate/jedate.js"></script>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		action="${ctx}/order/order_editEntity.shtml">
		<input type="hidden" class="form-control checkacc" value="${order.id}"
			name="orderFormMap.id" id="id">
		<section class="panel panel-default">
			<div class="panel-body">
				<div class="form-group">
					<label class="col-sm-3 control-label">客户名称:</label>
					<div class="col-sm-9">${order.clientname }</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">名称:</label>
					<div class="col-sm-9">${order.Name}</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">模具编号:</label>
					<div class="col-sm-9">${order.mold_encode }</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">订单数量:</label>
					<div class="col-sm-9">${order.number}</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">定重:</label>
					<div class="col-sm-9">${order.client_weight}</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">排产重量:</label>
					<div class="col-sm-9">${order.production_weight}</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">出货日期</label>
					<div class="col-sm-9">${order.shipping_time}</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">状态</label>
					<div class="col-sm-9">
						<c:if test="${order.state==1 }">已完成</c:if>
						<c:if test="${order.state==2 }">生产中</c:if>
						<c:if test="${order.state==3 }">未完成</c:if>
					</div>
				</div>
			</div>
			<table class="layui-table"  style="font-weight: bold; text-align: center;">
				<tr>
					<td>叫料时间</td><td>需求数量</td>
				</tr>
				<c:forEach items="${clientplanner }" var="key">
					<tr><td>${key.material_time }</td><td>${key.number }</td></tr>
				</c:forEach>
			</table>
	</section>
	</form>
</body>
</html>